package cn.strive.eams.building.pojo.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class Build {
    Long id;
    String name;
    String campus;
    String buildingType;
    String status;
    @ApiModelProperty(value ="创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    Date createTime;
    @ApiModelProperty(value ="更新时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    Date updateTime;
}
